<%@ page language="java" contentType="text/html; charset=UTF-8"  pageEncoding="UTF-8"%>
<!DOCTYPE HTML>
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<title>录单</title>
	<%@ include file="/view/common/tags.jsp"%>
</head>
<body>
	<div class="well well_p" >
		<sk:form method="post" cssClass="form-horizontal" action="${ctx }/order/creatOrder"  id="addOrderForm" target="_parent"  >
			<div class="form-group">
				<label class="col-xs-3 text-right">游戏:</label>
				<div class="col-xs-7">
					<sk:select cssClass="form-control select" id ="gameId" name="gameId" value="" onchange="listArea(this.options[this.options.selectedIndex].value)">
	                	<option value="">请选择</option>
						<sk:options  options="${gameNameList}" ></sk:options>
	            	</sk:select>
				</div>
			</div>
			<div class="form-group " style="display: none" id="hideArea">
				<label class="col-xs-3 text-right">游戏区:</label>
				<div class="col-xs-7">
					<sk:select cssClass="form-control select" id ="areaId" name="areaId" value="" onchange="listServer(this.options[this.options.selectedIndex].value)">
	                	<option id="area_id" value="">请选择</option>
	            	</sk:select>
				</div>
			</div>
			<div class="form-group " style="display: none" id="hideService">
				<label class="col-xs-3 text-right">游戏服:</label>
				<div class="col-xs-7">
					<sk:select cssClass="form-control select" id ="serverId" name="serverId" value="" >
	                	<option id="server_id" value="">请选择</option>
	            	</sk:select>
				</div>
			</div>
			<div class="form-group" >
				<label class="col-xs-3 text-right">商品类型:</label>
				<div class="col-xs-7">
					<sk:select cssClass="form-control select" id="goodsType" name="goodsType" value="">
                         <option id="goods_type" value="">请选择</option>
                    </sk:select>
				</div>
			</div>
			<div class="form-group" >
				<label class="col-xs-3 text-right">赠送数量:</label>
				<div class="col-xs-7">
					<input type="text" class="form-control" name="buyTotalNum" id="buyTotalNum" value="" >
				</div>
			</div>
			<div class="form-group" >
				<label class="col-xs-3 text-right">赠送URL/ID:</label>
				<div class="col-xs-7">
					<input type="text" class="form-control" name="propertyValue" id="propertyValue" value="" >
				</div>
			</div>
			<div class="form-group">
				<label class="col-xs-3 text-right">订单金额:</label>
				<div class="col-xs-7">
					<input type="text" class="form-control" name="orderTotalMoney" id="orderTotalMoney" value="" >
				</div>
			</div>
		</sk:form>
	</div>
</body>
   <%@ include file="/view/common/footer.jsp"%>
   <script type="text/javascript" src="${sysManagerV1}/view/js/order/addOrder.js"></script>
   <script>
// 提示信息
var msgg='<%=request.getAttribute("msg")%>';
if (msgg && msgg!=null && msgg!='null') { 
	  layer.msg(msgg);
}
</script>
</html>